package javaconfig.config;

import javaconfig.mapper.JavaConfigMockMapper;
import javaconfig.service.JavaConfigMockService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfig {

    @Bean
    public JavaConfigMockService javaConfigMockService() {
        JavaConfigMockService javaConfigMockService = new JavaConfigMockService();
        JavaConfigMockMapper javaConfigMockMapper = new JavaConfigMockMapper();
        javaConfigMockService.setMockMapper(javaConfigMockMapper);

        return javaConfigMockService;
    }


}
